home *** CD-ROM | disk | FTP | other *** search
- DEMONSTRATION BATCH FILE: TIC.BAT
- =================================
-
- TIC.BAT is a sample application that uses FDATE to create a "tickler
- file" batch file. The default name for the file is C:\TICKLER.BAT.
-
- In order to use TIC on a regular basis, you should:
-
- * Use your favorite text editor to modify TIC.BAT so that it
- will use your favorite text editor in the EDIT function.
- (TIC.BAT ships with the editor set to SPFPC).
-
- * If you wish, use your favorite text editor to modify the
- first few lines of TIC.BAT, so the "SET TicBAT=" statement
- sets TicBAT to a different file name for the tickler batch file.
- Note that you must specify the full filename,
- including path and extension.
-
- * Put TIC.BAT in a directory that is in your PATH.
-
- * add the following lines to your AUTOEXEC.BAT file:
-
- CLS
- rem show today's appointments
- call TIC T
- echo.
-
- rem show tomorrow's appointments [note space betwee T and +1]
- call TIC T +1
- echo.
-
- pause
-
- This will cause the tickler batch file to be run when you
- boot your computer, showing you your scheduled appointments.
-
- HELP
- ====
- Running TIC without any parms will cause it to display a HELP screen.
- EXAMPLE: tic
-
-
- ADDING A NEW TICKLE (SINGLE DATES)
- ==================================
- To add a new SINGLE DATE tickle, invoke TIC. The first parm must be the
- date of the desired tickle, in the format mm/dd/yy. (You may use the
- pseudodate TT for the current month or year, if you wish.)
-
- This parm must be followed by a description of the appointment.
- * If no description is entered, TIC interprets the date in parm 1
- as a request to display the tickles for that date.
-
- NOTE: DOS batch files strip commas out of their input parameters, so
- any commas in your description will be lost.
-
- EXAMPLE: tic 5/5/92 Cinco de Mayo party w/ Susan: El Charro @ 6pm
- EXAMPLE: tic 5/5/tt Cinco de Mayo party w/ Susan: El Charro @ 6pm
-
-
- ADDING A NEW TICKLE (REGULAR WEEKLY APPOINTMENTS)
- =================================================
- To add a new REGULAR APPOINTMENT tickle, invoke TIC. The first two
- parms must be the string "dow" (or "DOW") and the day-of-the-week
- number of the day of the week (e.g. 2 for Monday).
-
- These parms should be followed by a description of the appointment.
-
- EXAMPLE: tic dow 2 Regular Monday morning staff meeting @ 8:30 am
- EXAMPLE: TIC DOW 6 STANDING TENNIS DATE WITH JANICE AT 6:30
-
-
- CHECKING YOUR TICKLES
- =====================
- You can check your tickler file appointments for a particular day at
- any time by invoking TIC with only a date parm or the pseudodate T or
- TODAY.
-
- EXAMPLE: tic t displays appointments for today
- EXAMPLE: tic today displays appointments for today
- EXAMPLE: tic 5/5/92 displays appointments for May 5, 1992
- EXAMPLE: tic 5/5/tt displays appointments for May 5 of this year
- EXAMPLE: tic tt/5/tt displays appointments for the 5th of this month
-
- You can check your tickler file appointments for a date from one to
- seven days in the future by invoking TIC with two parms: T (for today)
- followed by a number of +1 through +7. Unsigned numbers are treated
- as if they have a plus sign. Negative numbers will show appointments
- for days in the past.
-
- EXAMPLE: tic t displays appointments for today
- EXAMPLE: tic t 1 displays appointments for tomorrow
- EXAMPLE: tic t +1 displays appointments for tomorrow
- EXAMPLE: tic t +7 displays appointments for a week from today
- EXAMPLE: tic t -1 displays appointments for yesterday
-
- Note that the space between the first parm "T" and the second, number
- parm, is required:
-
- EXAMPLE: tic t+2 does not recognise "t+2" as "t +2".
- Displays appointments for TODAY.
-
- If the tickler batch file does not exist, nothing will be displayed.
-
- REMOVING DEAD TICKLES
- =====================
- After a while the tickler batch file will become very long, filled with
- "dead tickles". You can edit it with a text editor to remove the dead
- tickles:
-
- EXAMPLE: tic edit
- EXAMPLE: TIC ED
-
- or simply delete it and let TIC create a new one the next time
- you use TIC to add a tickle.